package cn.zjyj.module.zjyj.controller.admin.supplier.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.zjyj.framework.common.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.zjyj.framework.common.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 供应商分页 Request VO")
@Data
public class SupplierPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "名称", example = "赵六")
    private String name;

    @Schema(description = "联系人")
    private String contacts;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "状态（0正常 1停用）", example = "2")
    private Integer status;

    @Schema(description = "纳税人识别号")
    private String taxpayerNumber;

    @Schema(description = "开户银行")
    private String openAccountNumber;

    @Schema(description = "银行账号")
    private String bankAccountNumber;

    @Schema(description = "开户名", example = "李四")
    private String bankAccountName;

    @Schema(description = "地址")
    private String bankAccountAddress;

}